package com.jing.service;

import com.jing.pojo.PageBean;
import com.jing.pojo.ReadingRooms;

import java.util.List;

/**
 * @author 陈书憬
 * @version 1.0
 * 2024/9/17
 */
public interface ReadingRoomsService {
    PageBean<ReadingRooms> list(Integer pageNum, Integer pageSize, String name, String type);

    List<ReadingRooms> categoryList();

    void add(ReadingRooms readingRooms);

    void update(ReadingRooms readingRooms);

    void deleteById(Integer id);

    void updateState(Long id, Boolean state);


    List<ReadingRooms> listNoPage();
}
